﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace XS.Tunnel.Cad.SteelBracing.Component.SteelShotcrete.UniversalBeamComponent
{
    public class UniversalBeamParam : SteelShotcreteParameter
    {
        public override SteelShotcreteType SteelShotcreteType => SteelShotcreteType.ShapeSteelArchFrame;


        public override double ShrinkSize
        {
            get
            {
                return (UniversalBeamHeight / 2) + WallInterval;
            }
        }

        public override double InnerShrinkSize => UniversalBeamHeight+ WallInterval;

        /// <summary>
        /// 中部钢板 仰拱和拱圈上
        /// </summary>
        public SteelPlateParameter Middle { get; set; }
        /// <summary>
        /// 墙脚链接钢板
        /// </summary>
        public SteelPlateParameter WallFoot { get; set; }
        /// <summary>
        /// 仰拱链接墙脚钢板 斜的 只有全断面才会右
        /// </summary>
        public SteelPlateParameter InvertedJoinWallFoot { get; set; }

        /// <summary>
        /// 工字钢高度
        /// </summary>
        public double UniversalBeamHeight { get; set; }

        /// <summary>
        /// 分段
        /// </summary>
        public int Subsection { get; set; }

        /// <summary>
        /// 仰拱分段
        /// </summary>
        public int InvertedArchSubsection { get; set; }
        /// <summary>
        /// 壁间距
        /// </summary>
        public double WallInterval { get; set; }

        /// <summary>
        /// 范围
        /// </summary>
        public SteelShotcreteScope Scope { get; set; }


        public override void Verification()
        {
            
        }


    }
}
